package net.trproperty.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TabPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Trproperty implements EntryPoint {



	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
	    // Create a tab panel with three tabs, each of which displays a different
	    // piece of text.
	    TabPanel tp = new TabPanel();
	    tp.add(new HTML("Home"), "Home");
	    tp.add(new HTML("Available Properties"), "Available Properties");
	    tp.add(new HTML("Tenants Page"), "Tennants Page");
	    tp.add(new HTML("Landlords Page"), "Landlords Page");
	    tp.add(new HTML("Contact"), "Contact");
	    

	    // Show the 'bar' tab initially.
	    tp.selectTab(1);

	    // Add it to the root panel.
	    RootPanel.get().add(tp);
	  }


	
}
